package com.infoland.afanmall.model.youXuan.entity;

import com.chad.library.adapter.base.entity.MultiItemEntity;

import java.util.List;

/**
 * 普通商品实体
 */
public class PtEntity implements MultiItemEntity {

    private int totalRow;
    private int pageNumber;
    private boolean firstPage;
    private boolean lastPage;
    private int totalPage;
    private int pageSize;
    private List<ListBean> list;

    @Override
    public int getItemType() {
        return YouXuanType.PT;

    }

    public int getTotalRow() {
        return totalRow;
    }

    public void setTotalRow(int totalRow) {
        this.totalRow = totalRow;
    }

    public int getPageNumber() {
        return pageNumber;
    }

    public void setPageNumber(int pageNumber) {
        this.pageNumber = pageNumber;
    }

    public boolean isFirstPage() {
        return firstPage;
    }

    public void setFirstPage(boolean firstPage) {
        this.firstPage = firstPage;
    }

    public boolean isLastPage() {
        return lastPage;
    }

    public void setLastPage(boolean lastPage) {
        this.lastPage = lastPage;
    }

    public int getTotalPage() {
        return totalPage;
    }

    public void setTotalPage(int totalPage) {
        this.totalPage = totalPage;
    }

    public int getPageSize() {
        return pageSize;
    }

    public void setPageSize(int pageSize) {
        this.pageSize = pageSize;
    }

    public List<ListBean> getList() {
        return list;
    }

    public void setList(List<ListBean> list) {
        this.list = list;
    }

    public static class ListBean implements MultiItemEntity {
        @Override
        public String toString() {
            return "ListBean{" +
                    "g_end_time='" + g_end_time + '\'' +
                    ", g_sort=" + g_sort +
                    ", g_ft_id=" + g_ft_id +
                    ", application_type=" + application_type +
                    ", modify_time='" + modify_time + '\'' +
                    ", g_cate_id=" + g_cate_id +
                    ", g_status_v='" + g_status_v + '\'' +
                    ", g_rate=" + g_rate +
                    ", g_type_v='" + g_type_v + '\'' +
                    ", g_name='" + g_name + '\'' +
                    ", activity_type=" + activity_type +
                    ", g_indate='" + g_indate + '\'' +
                    ", store_name='" + store_name + '\'' +
                    ", id=" + id +
                    ", g_status=" + g_status +
                    ", f_url='" + f_url + '\'' +
                    ", g_recommend=" + g_recommend +
                    ", store_id=" + store_id +
                    ", gprice=" + gprice +
                    ", business_name='" + business_name + '\'' +
                    ", create_time='" + create_time + '\'' +
                    ", is_good=" + is_good +
                    ", g_type=" + g_type +
                    ", activity_flag=" + activity_flag +
                    ", g_price='" + g_price + '\'' +
                    ", g_introduction='" + g_introduction + '\'' +
                    ", g_content='" + g_content + '\'' +
                    ", g_origin_price='" + g_origin_price + '\'' +
                    ", g_browse_count=" + g_browse_count +
                    ", g_start_time='" + g_start_time + '\'' +
                    ", g_sales=" + g_sales +
                    ", g_stock=" + g_stock +
                    ", activity_type_v=" + activity_type_v +
                    ", g_favs=" + g_favs +
                    ", business_id=" + business_id +
                    '}';
        }

        @Override
        public int getItemType() {
            return YouXuanType.PT;

        }

        private String g_end_time;
        private int g_sort;
        private Object g_ft_id;
        private int application_type;
        private String modify_time;
        private int g_cate_id;
        private String g_status_v;
        private int g_rate;
        private String g_type_v;
        private String g_name;
        private Object activity_type;
        private String g_indate;
        private String store_name;
        private int id;
        private int g_status;
        private String f_url;
        private int g_recommend;
        private int store_id;
        private int gprice;
        private String business_name;
        private String create_time;
        private int is_good;
        private int g_type;
        private int activity_flag;
        private String g_price;
        private String g_introduction;
        private String g_content;
        private String g_origin_price;
        private int g_browse_count;
        private String g_start_time;
        private int g_sales;
        private int g_stock;
        private Object activity_type_v;
        private int g_favs;
        private int business_id;

        public String getG_end_time() {
            return g_end_time;
        }

        public void setG_end_time(String g_end_time) {
            this.g_end_time = g_end_time;
        }

        public int getG_sort() {
            return g_sort;
        }

        public void setG_sort(int g_sort) {
            this.g_sort = g_sort;
        }

        public Object getG_ft_id() {
            return g_ft_id;
        }

        public void setG_ft_id(Object g_ft_id) {
            this.g_ft_id = g_ft_id;
        }

        public int getApplication_type() {
            return application_type;
        }

        public void setApplication_type(int application_type) {
            this.application_type = application_type;
        }

        public String getModify_time() {
            return modify_time;
        }

        public void setModify_time(String modify_time) {
            this.modify_time = modify_time;
        }

        public int getG_cate_id() {
            return g_cate_id;
        }

        public void setG_cate_id(int g_cate_id) {
            this.g_cate_id = g_cate_id;
        }

        public String getG_status_v() {
            return g_status_v;
        }

        public void setG_status_v(String g_status_v) {
            this.g_status_v = g_status_v;
        }

        public int getG_rate() {
            return g_rate;
        }

        public void setG_rate(int g_rate) {
            this.g_rate = g_rate;
        }

        public String getG_type_v() {
            return g_type_v;
        }

        public void setG_type_v(String g_type_v) {
            this.g_type_v = g_type_v;
        }

        public String getG_name() {
            return g_name;
        }

        public void setG_name(String g_name) {
            this.g_name = g_name;
        }

        public Object getActivity_type() {
            return activity_type;
        }

        public void setActivity_type(Object activity_type) {
            this.activity_type = activity_type;
        }

        public String getG_indate() {
            return g_indate;
        }

        public void setG_indate(String g_indate) {
            this.g_indate = g_indate;
        }

        public String getStore_name() {
            return store_name;
        }

        public void setStore_name(String store_name) {
            this.store_name = store_name;
        }

        public int getId() {
            return id;
        }

        public void setId(int id) {
            this.id = id;
        }

        public int getG_status() {
            return g_status;
        }

        public void setG_status(int g_status) {
            this.g_status = g_status;
        }

        public String getF_url() {
            return f_url;
        }

        public void setF_url(String f_url) {
            this.f_url = f_url;
        }

        public int getG_recommend() {
            return g_recommend;
        }

        public void setG_recommend(int g_recommend) {
            this.g_recommend = g_recommend;
        }

        public int getStore_id() {
            return store_id;
        }

        public void setStore_id(int store_id) {
            this.store_id = store_id;
        }

        public int getGprice() {
            return gprice;
        }

        public void setGprice(int gprice) {
            this.gprice = gprice;
        }

        public String getBusiness_name() {
            return business_name;
        }

        public void setBusiness_name(String business_name) {
            this.business_name = business_name;
        }

        public String getCreate_time() {
            return create_time;
        }

        public void setCreate_time(String create_time) {
            this.create_time = create_time;
        }

        public int getIs_good() {
            return is_good;
        }

        public void setIs_good(int is_good) {
            this.is_good = is_good;
        }

        public int getG_type() {
            return g_type;
        }

        public void setG_type(int g_type) {
            this.g_type = g_type;
        }

        public int getActivity_flag() {
            return activity_flag;
        }

        public void setActivity_flag(int activity_flag) {
            this.activity_flag = activity_flag;
        }

        public String getG_price() {
            return g_price;
        }

        public void setG_price(String g_price) {
            this.g_price = g_price;
        }

        public String getG_introduction() {
            return g_introduction;
        }

        public void setG_introduction(String g_introduction) {
            this.g_introduction = g_introduction;
        }

        public String getG_content() {
            return g_content;
        }

        public void setG_content(String g_content) {
            this.g_content = g_content;
        }

        public String getG_origin_price() {
            return g_origin_price;
        }

        public void setG_origin_price(String g_origin_price) {
            this.g_origin_price = g_origin_price;
        }

        public int getG_browse_count() {
            return g_browse_count;
        }

        public void setG_browse_count(int g_browse_count) {
            this.g_browse_count = g_browse_count;
        }

        public String getG_start_time() {
            return g_start_time;
        }

        public void setG_start_time(String g_start_time) {
            this.g_start_time = g_start_time;
        }

        public int getG_sales() {
            return g_sales;
        }

        public void setG_sales(int g_sales) {
            this.g_sales = g_sales;
        }

        public int getG_stock() {
            return g_stock;
        }

        public void setG_stock(int g_stock) {
            this.g_stock = g_stock;
        }

        public Object getActivity_type_v() {
            return activity_type_v;
        }

        public void setActivity_type_v(Object activity_type_v) {
            this.activity_type_v = activity_type_v;
        }

        public int getG_favs() {
            return g_favs;
        }

        public void setG_favs(int g_favs) {
            this.g_favs = g_favs;
        }

        public int getBusiness_id() {
            return business_id;
        }

        public void setBusiness_id(int business_id) {
            this.business_id = business_id;
        }
    }
}